Skip to content

docs: document audit-found platform limits and skill routing rules - #4871

Merged
thymikee merged 1 commit into
callstack:mainfrom
strzhao:community-docs-audit-limitations
Nov 21, 2026
Merged

thymikee merged 1 commit into
callstack:mainfrom
strzhao:community-docs-audit-limitations

Conversation

@strzhao

@strzhao strzhao commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documents three platform limits that real-usage audits showed agents rediscovering by failure, plus four routing rules in the agent-device skill. Docs-only: no runtime behavior, help output, or generated block changes.

  • website/docs/docs/known-limitations.md gains three entries in the existing per-platform form: iOS system prompts that ask for typed text accept no automated input (route around through the settings and alert channels); iOS devices match English alert labels only, unlike simulators (alert get, then snapshot -i plus press @ref); HarmonyOS Web and custom-drawn content can leave the accessibility tree sparse with unusable refs (screenshot plus coordinates).
  • skills/agent-device/SKILL.md adds only what the audit showed agents getting wrong: DEVICE_IN_USE recovery via device status --stale then device release --stale, never killing daemon processes; discovery via help commands; screenshot files via an explicit path or --out; waiting via wait stable and wait absent instead of sleep loops.

Validation

At 818b712. Runtime tests do not apply: the diff is two Markdown files. Passing locally: format, lint, tsc -b tsconfig.typecheck.json, check:fallow --base old-origin/main, check:doc-prose, check:agent-guidance, check:adr-citations, check:capabilities-matrix, check:command-docs, vitest related. Two gates are environment-blocked locally, not failed: the layering ratchet measures merge-base origin/main HEAD against a stale private mirror here, so upstream-grown counts read as drift (receipt: base and head sit at the same upstream tip; none of the flagged files is in this diff), and the check:doc-links website build needs npm registry access this sandbox lacks. CI resolves both against upstream.

🤖 Generated with Claude Code

Three real-usage findings were undocumented at the platform-limit level, so
agents rediscovered them by failure instead of by doc:

- iOS system prompts that ask for typed text (Apple ID password, Screen Time
  passcode) accept no automated input; the settings and alert channels are the
  way around, and a prompt that demands typed text needs a person.
- iOS physical devices match English alert labels only, unlike simulators that
  also recognize the device's preferred languages; a device in another language
  answers ALERT_BUTTON_NOT_FOUND, and the route is alert get plus snapshot and
  press by ref.
- HarmonyOS Web and custom-drawn content can miss the ArkUI accessibility tree,
  which leaves the capture sparse and its refs unusable; screenshot plus
  coordinates is the route until a navigation restores the tree.

The agent-device skill gains the four routing rules the usage audit showed
agents get wrong most often: how to clear DEVICE_IN_USE (device status --stale,
device release --stale; never kill daemon processes), where to discover
commands (help commands), how to save a screenshot to a file (explicit path or
--out), and how to wait (wait stable and wait absent instead of sleep loops).

Co-Authored-By: Claude Code <noreply@anthropic.com>
@strzhao
strzhao force-pushed the community-docs-audit-limitations branch from 93be748 to 818b712 Compare November 21, 2026 00:59
@thymikee

Copy link
Copy Markdown
Member

Thanks for documenting these limits. The docs-only change at 818b712 is ready, and there are no conflicts. The only check not passing is Body rules, which was cancelled rather than failed, so it likely needs a rerun before merge. Not blocking, and fine to take or leave: the iOS section's claim that no command enters text in Apple ID, Screen Time and passcode prompts is not backed by code or by help ios-system-ui, so soften it to what the audit observed or add the evidence (https://github.com/callstack/agent-device/blob/818b712/website/docs/docs/known-limitations.md#L33); the alert section repeats commands.md and could link to it instead (#L40); the DEVICE_IN_USE sentence in the skill should point at the recovery command in the error details, since status --stale hides live claims, and the skill could stay a routing card without the pkill sentence (https://github.com/callstack/agent-device/blob/818b712/skills/agent-device/SKILL.md#L26); and the HarmonyOS cause rests on the audit, so add the device, app and node count or phrase it as observed (known-limitations.md#L97). Not verified here: the three platform claims on a live device, the audit record the PR cites, and the local gates listed in the PR body.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 21, 2026
@thymikee
thymikee merged commit 6b4e4c1 into callstack:main Nov 21, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants